import http from '@/utils/http'

export const voteAPI = (userId, triggerUserId, objectId, objectType, status, lastStatus) =>
  http.post('/api/vote', {
    userId,
    triggerUserId,
    objectId,
    status,
    objectType,
    lastStatus
  })